#include<iostream>
using namespace std;


class Solution {
public:
    string reverseLeftWords(string s, int n) {
        string t = "";
        for (int i = n; i < s.length(); i++) {
            t += s[i];
        }
        for (int i = 0; i < n; i++) {
            t += s[i];
        }
        return t;
    }
};

/**
 * 2023.4.14
*/